package com.zl.springcloudfeignserver;

import feign.Feign;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ZhangLiang
 * @Date: 2021/08/24/10:44
 * @Description:
 */
//@Configuration
//public class FooConfiguration {
//
//    /**
//     * 要基于每个 Client 端禁用 Hystrix 支持，
//     * 请创建一个具有“ prototype”作用域的普通Feign.Builder
//     * @return
//     */
//    @Bean
//    @Scope("prototype")
//    public Feign.Builder feignBuilder(){
//       return Feign.builder();
//    }
//}
